package com.demo.security.exceptions;

import org.springframework.security.core.AuthenticationException;

/**
 * 如果从HEADER中未找到TOKEN,则抛出此异常
 *
 * @author molong
 * @since 2024/5/24
 */
public class JwtTokenAuthenticationException extends AuthenticationException {

    public JwtTokenAuthenticationException(String message) {
        super(message);
    }

    public JwtTokenAuthenticationException(String message, Throwable ex) {
        super(message, ex);
    }
}

